package com.dongge.aop;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * Created by dongge on 16/8/6.
 *
 */
@Repository
public class UseA {
    @Autowired
    private A a;

    public void print(){
        System.out.printf("print method from class UseA");
        a.print();
    }
}
